# coding=utf-8
# !/usr/bin/python3
import subprocess

# 定义要执行的命令
command = "shutdown /s /t 0"

# 执行命令
result = subprocess.run(command, shell=True, capture_output=True, text=True)

# 打印命令的输出
print("Standard Output:", result.stdout)
print("Standard Error:", result.stderr)
